package miner

type MinerBase struct {
	MinerId              string   `bson:"MinerId,omitempty"`
	RoundWinnerWorkerKey []string `bson:"RoundWinnerWorkerKey,omitempty"`
	IsSyncRoundWinner    bool     `bson:"-"` // 矿工是否在同步
	PoolName             string   `bson:"PoolName,omitempty"`
	Size                 string   `bson:"Size,omitempty"`
	CreateTimestamp      int64    `bson:"createTimestamp,omitempty"`
	MinerIds             []string `bson:"-"`
	Balance              float64  `bson:"-"`
	Power                float64  `bson:"-"`
	RewardCount          int      `bson:"-"`
	RewardFil            float64  `bson:"-"`
}

type MinerBases struct {
	Data  []MinerBase
	Total int64
}
